import request from "@/utils/request";

export function pageList(params){
    return request.post("/student/list", params);
}

export function insertStudent(student){
    return request.post("/student/increase", student);
}


export function getDictionaries() {
    return request.get("/student/dictionaries");
}


export function deleteStudent(id){
    return request.delete("/student/delete?id="+id);
}


export function updateStudent(student){
    return request.put(`/student/update`, student);
}
